package br.com.musclebook.entity;

import java.io.Serializable;

import br.com.musclebook.enums.ContactType;

public class Contact implements Serializable {

    private static final long serialVersionUID = 1L;

    private ContactType type;
    private String description;
    private boolean mandatory;

    public Contact() {
    }

    public Contact(ContactType type, String description, boolean mandatory) {
	this.type = type;
	this.description = description;
	this.mandatory = mandatory;
    }

    public ContactType getType() {
	return type;
    }

    public void setType(ContactType type) {
	this.type = type;
    }

    public String getDescription() {
	return description;
    }

    public void setDescription(String description) {
	this.description = description;
    }

    public boolean isMandatory() {
	return mandatory;
    }

    public void setMandatory(boolean mandatory) {
	this.mandatory = mandatory;
    }

}
